Abstract
Background: Colorectal cancer is a leading cause of cancer-related deaths in the United States, and colonoscopy remains the gold standard for early detection and prevention. However, many procedures are postponed due to inadequate bowel preparation, a preventable failure often caused by patients’ difficulty in understanding and following written prep instructions. Prior interventions such as reminder apps and instructional videos have improved adherence only modestly, largely because they cannot answer patient-specific questions. Recent advances in large language models (LLMs) raise the possibility of developing conversational assistants that can provide interactive support to patients in procedure preparation.
Objective: This study evaluated the correctness, harmfulness, and diversity of synthetic dialogues generated by leading LLMs acting as both simulated AI Coaches and patients for colonoscopy preparation.
Methods: Five leading LLMs—OpenAI’s o3, GPT-4.1, and GPT-5.1; Meta’s Llama 3.3 70B; and Mistral’s Large-2411—were used to generate 250 patient-AI Coach dialogues per model. Dialogues consisted of 3 to 7 question-answer pairs concerning diet, medications, and other prep-related topics. A multiprompt, multiquestion approach was designed to elicit diverse patient questions, and an error taxonomy was established to assess model capabilities in responding to questions. Human raters, including 3 medical experts, evaluated the generated questions for difficulty and the responses for correctness, error type, and potential harmfulness. Automatic evaluation using an LLM-as-a-judge approach complemented human evaluation. Question diversity was assessed using lexical diversity metrics (Distinct-1 and Distinct-2) and entropy. In addition, we evaluated a safety filtering mechanism in which responses judged incorrect by an automated evaluator were replaced with a deferral message instructing patients to contact their health care provider. Differences in response correctness across models were evaluated using permutation tests conducted at the dialogue level. Interrater agreement among human evaluators was assessed using the Gwet AC1 statistic. The study was conducted between May and September 2025.
Results: Automatic evaluation results closely aligned with human judgments: leading models approached but did not achieve adequate performance. Closed-weight models (GPT-5.1, GPT-4.1, and o3) outperformed open-weight models (Llama and Mistral) on correctness, with the reasoning models (GPT-5.1 and o3) performing best. This turn-level ranking was preserved under the supplementary single-prompt baseline, although dialogue-level rankings differed. All models produced harmful errors, primarily due to omissions or misinterpretations of prep instructions. The multiprompt generation strategy substantially increased the diversity of patient questions compared with a single-prompt baseline. Applying an automated safety filter reduced overall error rates but failed to eliminate harmful responses.
Conclusions: Although LLMs demonstrate strong potential to support colonoscopy preparation, none are yet reliable enough for unsupervised deployment in patient-facing contexts. Persistent harmful errors and the limited effectiveness of simple filtering mechanisms highlight the need for improved instruction adherence, stronger safety mechanisms, and validation using real patient queries.
doi:10.2196/88581
Keywords
Introduction
Colorectal cancer is the fourth leading cause of cancer-related deaths in the United States [], and colonoscopy remains the gold standard for early detection and prevention. Tens of thousands of colonoscopy and endoscopy procedures are performed each year at Ohio State’s Wexner Medical Center. However, despite their efficacy, around 20% of these tests are postponed because patients have not read, understood, and correctly carried out prep instructions. Inadequate colonoscopy prep has economic, health-related, and social costs. Economic costs include missed days from taking the prep, taking time off for the procedure, travel costs to get to the appointment and back, and the cost of having an accompanying person to drive (which is a requirement for the procedure). For the health care system, they lead to a missed appointment, incurring resultant wasted resources. Health-related costs include potentially reduced compliance with screening guidelines (only about 70% comply []) and thus risk of missing polyps. Social costs include frustration on the part of patients, in addition to patients sharing their experience with others, which can deter others from undergoing colonoscopy.
A key driver of this preventable problem is information overload: patients receive lengthy and complex written instructions days or weeks before their procedure, making it difficult to recall and correctly execute each step at the right time. For example, patients are given the information sheets that typically instruct them to drink half of a prep solution for clearing out the colon at 6 PM on the evening before their scheduled procedure and the other half 6 hours before the procedure time. However, some patients nevertheless show up for their procedure with the second half of their prep solution in hand—falsely assuming that they are supposed to take it after arriving at the procedure facility—and end up having to reschedule the procedure.
Past interventions, such as reminder apps [], instructional videos, and automated text messages [], have improved prep adherence only modestly [], largely because they lack the capacity for interactive question answering. The ability to answer questions appears to be critical: when automated systems could not respond to patient questions [], improvements in adherence disappeared []. Thus, a conversational assistant that can safely respond to patient queries is a promising next step in supporting patients during colonoscopy preparation.
Recent progress in large language models (LLMs) makes this prospect newly feasible. Frontier models such as o3 and Med-PaLM 2 [] have demonstrated strong reasoning on clinical benchmarks, including OpenAI’s HealthBench [] and MedQA []. If these models can perform complex diagnostic reasoning, a natural question arises: how well can they handle the simpler task of colonoscopy preparation coaching? This task primarily tests prompt adherence, prep instruction understanding, temporal and common sense reasoning, and dialogue communication, rather than clinical inference. Our study attempts to address this question. Building on prior work by Arya et al [], which introduced a neuro-symbolic conversational guide for colonoscopy prep, we explore how LLMs perform on the same challenge. Our preliminary experiments show that recent LLMs substantially outperform earlier models, particularly on temporal reasoning and conversational abilities, which are core difficulties in the task. This motivates a systematic evaluation of LLMs.
A growing body of work has emerged that explores capabilities and limitations of LLMs in medical question-answering tasks and patient-facing contexts. In nutrition, Sun et al [] have evaluated ChatGPT as an AI dietitian for type 2 diabetes. In mental health, LLMs were assessed on postpartum depression frequently asked questions (FAQs), with responses evaluated using the GRADE (Grading of Recommendations Assessment, Development, and Evaluation) framework []. In oncology, LLMs were tested on both FAQs [] and patient queries in an electronic patient portal []. One study found that health care professionals evaluated chatbot responses to patient questions from an online forum as empathetic and high quality [], and other work has shown that patients were more satisfied with LLM-generated responses than with clinicians’ responses to their questions asked through electronic health records (EHR) []. Another comprehensive study spanning 17 specialties [] evaluated LLM responses to physician-generated questions for correctness and completeness. Relatedly, the CRAFT-MD (Conversational Reasoning Assessment Framework for Testing in Medicine) framework [] demonstrated how simulated patient-provider interactions can be used to systematically evaluate LLMs across a wide range of clinical tasks. These studies highlight the need for evaluating LLMs in specialized patient-facing and question-answering contexts, such as colonoscopy preparation, and show that such assessments can be done via simulation frameworks, where LLMs act as medical assistants.
In this study, we selected leading LLMs to generate synthetic dialogues, where models simulated both patients and “AI Coaches” (ie, colonoscopy prep assistants). These dialogues were evaluated by both human raters and LLM-based raters, enabling us to evaluate not only the dialogue quality but also the ability of LLMs to stand in for human raters. The main benefit of synthetic data is the preservation of patient privacy and safety beyond other advantages []. Although LLM-generated questions may not fully capture the complexity and variability of questions that real patients may ask, they cover a broad range of topics, offering a challenge and a testing ground for models in this and other tasks []. The study evaluated dialogues along 2 dimensions: (1) diversity and difficulty of patient questions and (2) correctness of AI Coach responses relative to prep instructions. We aimed to better understand how close current LLMs are to serving as safe and reliable conversational assistants for real-world health care communication tasks in the context of colonoscopy procedure.
Methods
Dialogue Generation
Five leading LLMs with strong reasoning and instruction-following capabilities were selected for dialogue generation: OpenAI’s GPT-4.1, o3, and GPT-5.1; Meta’s Llama 3.3 70B Instruct; and Mistral’s Large-2411. GPT-4.1, o3, and GPT-5.1 are closed-weight models, whereas Mistral Large and Llama 3.3 are open-weight models. Among these, o3 and GPT-5.1 use explicit reasoning. The study was conducted from May to September 2025. GPT-5.1 was released after our data generation and human evaluation were completed. Accordingly, GPT-5.1 dialogues were generated in a separate, later phase of the study. Therefore, we report results for this newer model from automatic evaluation only.
Dialogue generation was conducted in a turn-by-turn manner, with separate prompts for patient questions and AI Coach responses (). An example dialogue is provided in . For AI Coach responses, we incorporated few-shot dialogues and chain-of-thought reasoning [], as preliminary experiments indicated that these strategies reduced errors. Few-shot examples modeled fully correct responses and illustrated how to avoid common error types. The AI Coach prompt contained full prep instructions [] converted into raw text (). Patient prompts were designed to encourage diversity and realism, so at each patient’s turn, one of several prompt types was selected at random:
- Food-related prompts generated questions about eating various foods at a specific time before the procedure or about mistakenly eating restricted foods.
- Theme-based prompts generated questions on a specific topic unrelated to foods, such as sedation, allergies, and medication.
- Follow-up prompts generated questions based on the previous turn.
| Turns | Note |
| AI Coach: Hello! I’m here to help you prepare for your colonoscopy. What questions or concerns can I assist you with today? | Greeting. |
| Patient: Can I still eat spinach salad with vinaigrette? | Not easily answerable from instructions. |
| AI Coach: Yes, you can still eat spinach salad with vinaigrette. Dietary changes, such as avoiding leafy greens like spinach, start 5 days before your procedure. | Correct: reminds a patient that spinach is restricted within a 5-day window. |
| Patient: Got it, thanks for clarifying. What exactly is in the bowel prep drink? | Easily answerable from instructions. |
| AI Coach: Your bowel prep will include MiraLAX (polyethylene glycol 3350, 8.3 oz or 238 g), 4 Dulcolax tablets (5 mg each), and 64 oz of sports drink (not red or purple). These ingredients are mixed to clean your colon before the procedure. | Correct. |
| Patient: Will the MiraLAX irritate my ulcerative colitis? | Unanswerable from instructions. |
| AI Coach: Please contact your health care provider to discuss your specific medical condition and get guidance on your bowel prep. | Correct: directs the patient to a provider. |
Each prompt generated 10 questions per turn, and one of them was selected at random to continue the dialogue. This is a simple approach to addressing the well-known mode collapse problem [], where repeatedly prompting a model produces a limited set of highly similar outputs. For comparison, we also generated dialogues for each model using a baseline prompting approach, where we used a single simple prompt that produced only one question per turn. Each dialogue consisted of 3 to 7 turns (question-answer pairs), with the number of turns determined uniformly at random. A total of 250 dialogues were generated by each model using the 2 prompting approaches, with the same model acting as both the patient and the AI Coach in a dialogue. To assess potential echo-chamber effects, we performed a supplementary crossed-model analysis in which patient questions generated by Llama were answered by model o3.
In the prep instructions, dietary restrictions begin 5 days before the procedure, marking the start of the preparation period most relevant to patients. Accordingly, dialogues were assigned a time point between 1 and 21 days before the procedure, with dialogues set within the 5-day window occurring twice as frequently as those set earlier, as these tend to involve more challenging or clinically relevant questions, and patients tend to ask questions closer to the procedure. Model correctness was later stratified by short-term (1‐5 days) and longer-term (6‐21 days) windows.
Human Evaluation
Four human raters participated in the dialogue evaluation: 1 attending physician (expert), 1 medical resident, 1 medical student (experienced raters), and 1 layperson (the first author). For each model (except GPT-5.1, as noted above), 50 dialogues were sampled at random for evaluation. A subset of 50 dialogues was annotated by all 4 raters to determine interrater agreement, with dialogues evenly distributed across models. The rest of the dialogues were split evenly between experienced raters. All analyses reported are based on expert and experienced rater annotations. Additionally, a subset of dialogues was cross-annotated by the lay rater to enable comparison between lay and experienced evaluations. To support consistency, raters were provided with detailed evaluation guidelines, which were refined following a pilot trial. All raters except the lead author were blinded to the model source of the dialogues.
Raters were instructed to determine whether each AI Coach response was correct or incorrect, with reference to prep instructions. Incorrect responses were classified into one of the following categories ():
- Temporal errors: inconsistencies with the procedure timeline
- Extraneous information: inclusion of content outside the scope of prep instructions (subcategorized as factually correct vs factually incorrect)
- Reasoning errors: contradictions with prep instructions or faulty reasoning (eg, about restricted foods)
- Omissions: exclusion of essential or helpful information
- Other errors: irrelevant, disfluent, or ambiguous responses
Each error was also judged for harmfulness. An error was classified as harmful if following the advice could plausibly result in inadequate bowel preparation, violation of medication or fasting restrictions, or a canceled procedure. Errors were classified as harmless if they introduced inaccuracies that would not affect preparation quality, procedure scheduling, or patient safety (). Disagreements among raters were resolved by majority vote; in cases without a consensus, the rating of the most experienced rater was used. Responses may contain multiple errors and were considered correct only if they contained none.
The correctness metric, which emphasizes strict adherence to prep instructions, was supplemented with absolute correctness, in which responses containing factually correct but extraneous information beyond the preparation instructions were merged with correct responses rather than treated as errors. Responses containing factually correct but extraneous information are harmless by definition.
Unlike AI Coach responses, patient questions were not judged for correctness because, in practice, patients may ask irrelevant or ambiguous questions, and providers are still expected to respond appropriately. Instead, 30 questions from each model were sampled at random and categorized into 1 of 3 levels: (1) easily answerable from prep instructions; (2) not easily answerable, such as those that require reasoning about the timeline or fiber content of various foods; (3) not answerable at all (eg, sedation details or anxiety management), which require deferral to a provider. This classification aimed to determine whether models were presented with questions of varying degrees of difficulty, as would be expected in a real-life scenario.
Automatic Evaluation
We used an LLM-as-a-judge approach to evaluate a large set of dialogues, in which each AI Coach response was independently evaluated by a language model. The evaluation prompt () included the full prep instructions, few-shot examples of common errors and correct responses, and it required the model to provide an explanation whenever it judged a response as incorrect. These explanations were retained for qualitative error analysis.
Four evaluator models were tested: DeepSeek-R1, OpenAI’s GPT-5.1 and o3, and Meta’s Llama 3.3 70B. These models were selected to represent both closed-weight and open-weight models with strong reasoning performance. To determine the most reliable automated evaluator, we compared evaluator predictions with human judgments. DeepSeek-R1 demonstrated the best performance and was therefore selected as the primary automated evaluator for reporting large-scale results (). Although prior work suggests that LLM-based evaluators may exhibit self-bias [], none of the evaluated dialogues in our study were generated by DeepSeek-R1, mitigating that risk.
| Model | Accuracy, n (%) | Precision | Recall | F1-score |
| Llama 3.3 70B | 199 (79.0) | 0.63 | 0.40 | 0.49 |
| GPT-5.1 | 207 (82.1) | 0.45 | 0.55 | 0.49 |
| o3 | 213 (84.5) | 0.51 | 0.58 | 0.54 |
| DeepSeek-R1 | 217 (86.1) | 0.56 | 0.58 | 0.57 |
aFifty randomly selected dialogues were cross-evaluated by expert human raters, whose annotations served as the gold standard. Model predictions of response correctness were compared against these expert ratings at the turn level. Cochran Q test detected no differences among evaluators.
We also implemented a simple safety filtering mechanism based on the best-performing automated evaluator. If the evaluator classified a response as incorrect, the original response was replaced with a deferral message instructing the patient to contact their health care provider for clarification. If the response was classified as correct, the original response was retained. Error and harmfulness rates were then recomputed using the modified set of responses to estimate the potential impact of this filtering mechanism. This procedure was performed offline as a postprocessing step.
Additionally, we assessed the diversity of patient questions across models using the type-token ratio (the percentage of unique unigrams and bigrams, referred to as Distinct-1 and Distinct-2, respectively) and the entropy measure. We compared question diversity generated using our multiprompt, 10-question strategy with a single-prompt, single-question approach, which served as the baseline. The most frequent tokens are listed in .
Statistical Analysis
We estimated the approximate sample size of 1228 responses per model for the automatic evaluation using a chi-square power analysis with a significance level of 0.05 and statistical power of 0.80. Pilot estimates of the observed proportions yielded a Cohen effect size of 0.094. Assuming an average of 5 responses per dialogue, 1228 responses corresponded to 245.6 dialogues per model, which was rounded to 250. A Bonferroni-adjusted significance level was applied to maintain the desired statistical power when conducting multiple comparisons. Two models (Llama 3.3 70B and GPT-5.1) produced slightly fewer responses than the planned target (1220 and 1219, respectively), representing a deviation of less than 1% from the planned sample size, which does not significantly affect the intended statistical power.
Chi-square tests and tests of proportions treat dialogue turns as independent observations. Therefore, to confirm the statistical significance of differences in turn-level accuracy between 2 models (Model A and Model B) without assuming that turns in the same dialogue were independent, we used a nonparametric permutation test at the dialogue level with a custom turn-level accuracy statistic. For each dialogue, the number of correct turns and total turns was calculated. The observed test statistic, Tobs, was calculated as the difference in turn-level accuracy between Model A and Model B, which was determined by summing and dividing the correct and total turns across all dialogues for each model. We then generated an empirical null distribution by repeatedly shuffling the dialogue-level group labels (n=50,000) and recalculating the statistic for each permuted set. The 2-sided P value was determined as the proportion of permutations in which the absolute value of the permuted statistic was greater than or equal to |Tobs|. Such pairwise permutation tests were conducted against the best-performing model with a Holm-Bonferroni–adjusted significance level of .05.
For human evaluation, we estimated the sample size required to detect significant interrater agreement using the Bloch and Kraemer formula for Krippendorff α [], assuming a significance level of .05. However, we did not anticipate such high correctness rates observed in our data and instead calculated Gwet AC1 as the measure of interrater agreement. This statistic is more robust to skewed category distributions [] and is reported in the Discussion section.
Ethical Considerations
This study did not involve human participants; therefore, institutional board review approval was not required. All data analyzed in this study were fully synthetic and did not contain any real patient information.
Results
Question Difficulty and Diversity
Human evaluation of question difficulty () showed that questions were well balanced across difficulty levels for all models, with o3 and Mistral Large generating slightly more challenging or unanswerable questions. Automatic diversity metrics, such as entropy and Distinct-1 or Distinct-2 (), indicated that the multiprompt, multiquestion generation strategy produced more diverse patient questions than the single-prompt, single-question baseline for all models. Both o3 and GPT-5.1 produced the most lexically diverse patient questions, achieving the highest Distinct-1 or Distinct-2 and entropy scores among all models. lists the most frequent tokens across models, revealing a clear qualitative pattern: stronger models such as o3, GPT-5.1, and GPT-4.1 generated more specific terms (eg, chicken, coffee, white), whereas Llama and its baseline relied more on generic ones (eg, colonoscopy, procedure). Although Mistral produced a range of specific items (eg, popcorn, wine, salad), its token frequencies were more uneven, whereas the stronger models exhibited more balanced lexical distributions.
| Model | Easily answerable, n | Not easily answerable, n | Unanswerable, n |
| Mistral Large | 6 | 12 | 12 |
| Llama 3.3 70B | 10 | 8 | 12 |
| GPT-4.1 | 11 | 10 | 9 |
| o3 | 5 | 12 | 13 |
aPatient questions were generated using a multiprompt, 10 questions-per-prompt strategy. Questions were categorized by human raters according to whether they were directly answerable from the colonoscopy preparation instructions, required indirect reasoning, or were unanswerable based on the provided instructions.
| Model | Distinct-1 | Distinct-2 | Entropy | N |
| Baseline Llama | 0.03 | 0.10 | 7.22 | 1227 |
| Llama 3.3 70B | 0.07 | 0.25 | 8.00 | 1220 |
| Baseline GPT-4.1 | 0.06 | 0.24 | 7.90 | 1264 |
| GPT-4.1 | 0.11 | 0.39 | 8.59 | 1292 |
| Baseline Mistral | 0.09 | 0.28 | 7.91 | 1233 |
| Mistral Large | 0.11 | 0.40 | 8.70 | 1250 |
| Baseline GPT-5.1 | 0.06 | 0.25 | 8.10 | 1282 |
| GPT-5.1 | 0.16 | 0.47 | 8.93 | 1219 |
| Baseline o3 | 0.12 | 0.40 | 9.02 | 1277 |
| o3 | 0.16 | 0.51 | 9.14 | 1262 |
aDiversity metrics, including the proportion of unique unigrams and bigrams (Distinct-1 and Distinct-2, respectively) and lexical entropy, were computed across patient questions. Results include both a single-prompt, single-question baseline and a multiprompt, 10-questions-per-prompt generation strategy for each model.
Overall Response Accuracy
presents the human evaluation results for dialogue-level and turn-level accuracy relative to the colonoscopy preparation instructions. At the dialogue level, o3 achieved the highest accuracy (38/50, 76%), followed by GPT-4.1 (31/50, 62%), Llama 3.3 70B (19/50, 38%), and Mistral Large (9/50, 18%). A similar pattern was observed at the turn level, with o3 (216/231, 93.5%) significantly outperforming Llama 3.3 70B (185/237, 78.1%; P<.001) and Mistral Large (171/251, 68.1%; P<.001). The comparison with GPT-4.1 (227/250, 90.8%; P=.28) was not significant. When counting responses that were extraneous but still correct, absolute correctness increased only slightly for all models.
| Model | Dialogue-level accuracy, n/N (%) | Turn-level accuracy, n/N (%) | Absolute correctness, n/N (%) | Tobs | Adjusted P value (vs best) |
| Mistral Large | 9/50 (18) | 171/251 (68.1) | 178/251 (70.9) | 25.4 | <.001 |
| Llama 3.3 70B | 19/50 (38) | 185/237 (78.1) | 189/237 (79.7) | 15.4 | <.001 |
| GPT-4.1 | 31/50 (62) | 227/250 (90.8) | 231/250 (92.4) | 2.7 | .28 |
| o3 | 38/50 (76) | 216/231 (93.5) | 218/231 (94.4) | — | — |
aDialogue-level and turn-level accuracy were assessed relative to publicly available colonoscopy preparation instructions from the Wexner Medical Center. Absolute correctness includes responses containing accurate but extraneous information beyond the preparation instructions. Pairwise comparisons of turn-level accuracy against the highest-performing model (o3) were conducted using dialogue-level permutation tests with Holm-Bonferroni correction.
bNot applicable.
To extend these findings to a larger dataset, we conducted an automatic evaluation using the LLM-as-a-judge approach. We used 4 LLMs as evaluators: DeepSeek-R1, OpenAI’s GPT-5.1 and o3, and Meta’s Llama 3.3 70B (). We ultimately selected DeepSeek-R1 as the evaluator, as it achieved the highest accuracy and F1-score against the human judgments. The automatic evaluation () followed similar trends to those observed in the human evaluation. At both the dialogue level (182/250, 72.8%) and turn level (1135/1219, 93.1%), GPT-5.1 was the best-performing model, significantly exceeding o3 (158/250, 63.2% and 1145/1262, 90.7%, respectively; P=.04), GPT-4.1 (147/250, 58.8% and 1148/1292, 88.9%, respectively; P<.001), Llama 3.3 70B (104/250, 41.6% and 990/1220, 81.1%, respectively; P<.001), and Mistral Large (150/250, 60% and 773/1250, 61.8%, respectively; P<.001) at the turn level. The supplementary baseline correctness analysis () confirmed that GPT-5.1 was the best-performing model under both the single-prompt, single-question baseline and the multiprompt, multiquestion prompting approaches. In a supplementary crossed-model analysis (), o3 achieved slightly higher accuracy when answering Llama-generated patient questions (1127/1220, 92.4%) than when answering its own questions. At the dialogue level, the accuracy increased substantially by approximately 30%, suggesting that incorrect turns were concentrated within a small number of dialogues. In a supplementary stratified analysis (), all models showed higher accuracy in the 6 to 21-day window at both the turn and dialogue levels. The 1 to 5-day window, sampled more frequently to reflect patient behavior in the real world, was more challenging, likely due to increased clinical complexity during the restriction period.
| Model | Dialogue-level accuracy, n/N (%) | Turn-level accuracy, n/N (%) | Tobs | Adjusted P value (vs best) |
| Mistral Large | 150/250 (60) | 773/1250 (61.8) | 31.3 | <.001 |
| Llama 3.3 70B | 104/250 (41.6) | 990/1220 (81.1) | 12.0 | <.001 |
| GPT-4.1 | 147/250 (58.8) | 1148/1292 (88.9) | 4.2 | .001 |
| o3 | 158/250 (63.2) | 1145/1262 (90.7) | 2.4 | .04 |
| GPT-5.1 | 182/250 (72.8) | 1135/1219 (93.1) | — | — |
aAccuracy was determined using an LLM-as-judge approach, with DeepSeek-R1 serving as the automated evaluator. Pairwise comparisons of turn-level accuracy against the highest-performing model (GPT-5.1) were conducted using dialogue-level permutation tests with Holm-Bonferroni correction.
bNot applicable.
| Model | Dialogue-level accuracy, n/N (%) | Turn-level accuracy, n/N (%) |
| o3 | 158/250 (63.2) | 1145/1262 (90.7) |
| Llama+o3 | 232/250 (92.8) | 1127/1220 (92.4) |
aAccuracy was determined using an LLM-as-judge approach, with DeepSeek-R1 serving as the automated evaluator. Dialogues generated entirely by o3 were compared with a crossed-model condition in which patient questions generated by Llama 3.3 70B were answered by o3.
Error Analysis
Error breakdowns are reported in . The most frequent error type across models was omission, ranging from 1.7% (4/231) for o3 to 11.6% (29/251) for Mistral Large. Models o3 and GPT-4.1 consistently had the lowest error rates across all categories. The error rates of model o3 remained uniformly below 2% across all error types. shows that both the number and proportion of harmful errors varied notably by model. Mistral Large produced the highest number of total errors but surprisingly a lower proportion of harmful errors (37/114, 32.5%). In contrast, model o3 had the fewest total errors but the highest proportion that were harmful (11/17, 64.7%).
| Model | Temporal, n/N (%) | Extraneous correct, n/N (%) | Extraneous incorrect, n/N (%) | Reasoning, n/N (%) | Omission, n/N (%) | Other, n/N (%) |
| Mistral Large | 26/251 (10.4) | 8/251 (3.2) | 7/251 (2.8) | 27/251 (10.8) | 29/251 (11.6) | 3/251 (1.2) |
| Llama 3.3 70B | 10/237 (4.2) | 4/237 (1.7) | 9/237 (3.7) | 7/237 (3.0) | 23/237 (9.7) | 3/237 (1.3) |
| GPT-4.1 | 7/250 (2.8) | 4/250 (1.6) | 3/250 (1.2) | 1/250 (0.4) | 12/250 (4.8) | 1/250 (0.4) |
| o3 | 1/231 (0.4) | 3/231 (1.3) | 4/231 (1.7) | 4/231 (1.7) | 4/231 (1.7) | 1/231 (0.4) |
aError categories were defined according to predefined annotation guidelines. Fifty dialogues per model were evaluated. Rates are calculated at the turn level, and n denotes the number of turns containing at least 1 error of the specified type.
| Model | Harmless, n/N (%) | Harmful, n/N (%) |
| Mistral Large | 77/114 (67.5) | 37/114 (32.5) |
| Llama 3.3 70B | 28/58 (48.3) | 30/58 (51.7) |
| GPT-4.1 | 17/28 (60.7) | 11/28 (39.3) |
| o3 | 6/17 (35.3) | 11/17 (64.7) |
aHarmfulness was defined as an error with the potential to cause clinically significant consequences, including procedure cancellation or adverse health outcomes.
Discussion
Diversity of Patient Questions
Prompt design had a clear effect on the diversity of patient queries. A simple baseline prompt produced repetitive questions, whereas our multiprompt strategy, where each turn generated 10 candidate questions from food-related, thematic, or follow-up prompts, led to greater lexical and topical variety, helping mitigate the mode collapse problem. Automatic metrics (Distinct-n and entropy) confirmed this increase in diversity. Human evaluation further showed that our approach yielded a balanced distribution of questions: some were easily answerable from the preparation instructions, others required indirect reasoning (eg, about timing or food composition), and some were not answerable at all (eg, anxiety or sedation concerns). This suggests that our generation setup exposed models to a realistic range of question types and difficulty, mirroring those encountered in actual patient-provider interactions. Consequently, the resulting dialogues provide a more robust basis for evaluating models’ performance in this task.
Correctness of AI Coach Responses
This task is relatively straightforward: responses are evaluated against a fixed set of colonoscopy preparation instructions. However, the best-performing models (GPT-4.1, o3, and GPT-5.1) approach but do not reach 100% accuracy. Smaller open-source models (Llama and Mistral) are not a viable alternative due to a substantially higher number of errors. While a fully crossed design could be considered in future work, the preliminary analysis of the Llama and o3 pairing indicates that using the same-model pairing did not artificially boost performance.
Error patterns revealed important distinctions across models. Temporal errors were much less frequent in the stronger models; however, instruction-following errors (omission, extraneous information, and faulty reasoning) remained prevalent even when temporal accuracy was high, suggesting that models could benefit from further fine-tuning for instruction adherence. Additionally, o3 produced a large proportion of harmful errors despite high overall accuracy, showing that accuracy and safety are not equivalent. In fact, the existence of harmful errors demonstrates the potential risks of deploying even highly accurate models in patient-facing contexts without additional safeguards. This concern may be especially relevant in scenarios where patients already have a solid understanding of preparation instructions, since models could inadvertently misdirect otherwise well-prepared patients. For less-prepared patients, however, model assistance could still be mildly beneficial, although not enough on its own to ensure a successful prep. Patients may need reminders [] to complete preparation steps, which would in turn require a more complex interactive system capable of supporting these mechanisms.
Common harmful errors involved omissions of critical safety or procedural information. Examples include failing to mention the need for a designated driver at check-in, omitting the 2-hour restriction on liquids (with the exception of small sips of water for medication), or failing to warn about future dietary restrictions (eg, avoiding red or purple liquids and dairy products on the day before the procedure). Other errors concerned medication guidance, such as not advising patients to consult their provider about medication changes or neglecting to state specific rules for oral diabetes medications. In several cases, models failed to instruct patients to contact their provider after mistakenly consuming a prohibited food item. There were also some patient questions phrased in terms of weekdays (eg, “this Sunday”) rather than in terms of the number of days left before the procedure (eg, “3 days before”). Such questions create ambiguity that a robust system should detect, but even stronger models were not able to do so.
Model behavior also differed in style. Mistral’s responses were often extremely brief, offering no explanation derived from the instructions and sometimes consisting of single-word replies. Mistral also refused to answer many dietary questions when dialogues were set many days before the procedure and conflated patient and provider roles more often than others. Llama tended to be verbose and occasionally unnatural in phrasing, whereas GPT and o3 produced more natural responses, which were lengthy only when warranted.
Evaluation
Both automatic and human evaluation were essential and complementary. Human evaluation provided insights into error types and their potential harmfulness, while automatic evaluation provided a scalable way to evaluate large numbers of dialogues beyond what would be feasible with expert raters. Interrater agreement for correctness judgments among the human raters was substantial (expert and experienced raters: AC1=0.74, 95% CI 0.68-0.80, percent agreement=0.82; all raters: AC1=0.68, 95% CI 0.62-0.75, percent agreement=0.79), consistent with our expectation that evaluating factual correctness in this task is easier than clinical diagnosis.
Interestingly, we found systematic differences between DeepSeek-R1 (R1) and the expert raters. R1’s strict adherence to prep instructions led it to identify certain erroneous responses that the experts judged acceptable, suggesting that automatic evaluators may in fact be more reliable at guideline and prep fidelity. Some of these cases involved minor issues, such as responses that were incomplete or lacked explanation. In one case, the response model misclassified Tylenol as a nonsteroidal anti-inflammatory drug (NSAID), which constitutes a factual error but not a harmful one, as experts agreed the real safety concern lies with anticoagulants such as Warfarin. In another case, the response model failed to specify that instant Ramen should be made from low-fiber noodles. Although technically correct, this omission was considered inconsequential because most instant Ramen products already meet that criterion. R1 was able to successfully identify these erroneous cases, but it also penalized a few factually correct responses, reflecting an overly rigid standard of adherence.
These findings do not undermine the earlier results from human evaluation. Importantly, evaluating a large set of responses offline in a spreadsheet differs from interacting with real patients, where pragmatic communication takes precedence. The lay rater showed similar tendencies to R1, prioritizing strict adherence while making only a single factual error (incorrectly believing that gummy bears were allowed on the day before the procedure). This further suggests that factual evaluation of dialogues in reference to prep instructions is a relatively easy task for humans to learn, yet even the strongest models are not perfect at it.
Regarding false negatives, R1 missed a few temporal and reasoning errors, but no clear pattern was observed among them. In a safety filtering context, such false negatives are more concerning than false positives because they allow incorrect responses to remain unflagged. However, these cases were relatively infrequent and do not change the comparative findings across models.
Safety Filter
Applying an LLM-as-a-judge filter () to the human-annotated subset of dialogues reduced both the overall error rate and the harmfulness rate for all models. The filter consisted of replacing all AI Coach responses that the LLM judge classified as incorrect with a deferral to a provider, then recomputing turn-level error and harmfulness rate on the responses. The relative improvement was greatest for Mistral Large (error rate reduced from 80/251, 31.9% to 27/251, 10.8%) and Llama 3.3 70B (52/237, 21.9% to 29/237, 12.2%). Model o3 remained the most accurate before and after filtering (15/231, 6.5% to 12/231, 5.2%). Similarly for harmfulness, the filter helped weaker models like Llama and Mistral, but offered little or no benefit for stronger models such as GPT-4.1 or o3, where it removed only one harmful error per model. These improvements should be interpreted with caution, since we do not penalize false provider deferrals in our framework. If such a filter were deployed in patient interactions, it would likely be counterproductive: if patients are redirected to contact a provider for questions that could have been answered from the prep instructions, the usefulness of the AI Coach as an assistant for colonoscopy prep is undermined. Most importantly, the filter failed to eliminate a sufficient number of harmful errors, making it impractical as a safety mechanism.
| Filtering | Before | After | ||
| Model | Error rate, n/N (%) | Harmfulness, n/N (%) | Error rate, n/N (%) | Harmfulness, n/N (%) |
| Mistral Large | 80/251 (31.9) | 33/251 (13.1) | 27/251 (10.8) | 11/251 (4.4) |
| Llama 3.3 70B | 52/237 (21.9) | 30/237 (12.7) | 29/237 (12.2) | 18/237 (7.6) |
| GPT-4.1 | 23/250 (9.2) | 9/250 (3.6) | 15/250 (6) | 8/250 (3.2) |
| o3 | 15/231 (6.5) | 10/231 (4.3) | 12/231 (5.2) | 9//231 (3.9) |
aThe filter replaced AI Coach responses classified as incorrect by the LLM judge with a deferral advising the patient to contact their provider. Rates are calculated at the turn level; N denotes the number of turns containing at least one error and at least one harmful error, respectively.
Limitations
This study has several limitations. First and foremost, the use of synthetic dialogues may limit external validity. The distribution of synthetic patient questions may not fully capture the range or underlying motivations behind real-world patient inquiries. The factors driving patient unpreparedness are not fully understood and can stem from causes beyond informational gaps, such as anxiety or noncompliance, that are difficult to model through prompt-based generation. Additionally, real patient questions can prove to be more challenging, as they can be emotionally loaded, unclear, or fragmented and may require follow-up clarification, although expert raters qualitatively found the synthetic questions to be otherwise plausible. Furthermore, the prompts explicitly encouraged creativity, which may have led to overrepresentation of atypical or edge-case questions that do not fully reflect the distribution of real patient inquiries. Consequently, models might perform differently when confronted with real patient queries along with potential medical comorbidities, and the correctness results reported here may not directly translate to real clinical deployment settings. Future evaluation on real patient-provider communication data will be necessary to determine the true clinical generalizability of our findings.
Second, although model responses were evaluated for factual accuracy relative to the preparation instructions, other aspects of communication quality, such as empathy, were not assessed. Additionally, while a crossed-model analysis was performed to partially assess potential echo-chamber effects, this was limited to a subset of model pairings and does not exclude such effects for weaker models. In the future, all models should be evaluated against a standardized, independent set of questions. Although automated evaluation enabled large-scale analysis, results should be interpreted with caution, even as model rankings were preserved relative to human evaluation. The automated evaluator showed moderate agreement with human judgments (F1-score=0.57), with corresponding false positive and false negative rates that introduce noise into correctness estimates. However, such noise has always been inherent to automated evaluation [-] and is mitigated by the large sample size, which improves the stability of relative comparisons despite reduced precision at the individual-turn level.
Third, this study did not explore the relationship between question difficulty and response correctness or harmfulness. Fourth, diversity measures like type-token ratio and entropy quantify surface-level lexical variety but do not necessarily reflect semantic or pragmatic diversity. In addition, patient personas were defined generically and did not explicitly incorporate comorbidities or medication use, limiting assessment of model performance in more clinically complex scenarios. We did not have access to a corpus of messages or phone call transcripts between patients and providers as these are privacy-protected; consequently, we were not able to quantitatively compare the synthetic conversations with real ones. Finally, because the colonoscopy preparation instructions used in prompts are publicly available, some models may have encountered them during pretraining. As a result, part of the observed performance could be inflated and reflect memorization rather than strictly reasoning from the prompts.
Conclusions
Taken together, our results demonstrate that LLMs approach but do not yet achieve adequate performance in this task, given the number of harmful errors. Human and automatic evaluations together provide a nuanced understanding of model behavior, balancing interpretability and scalability. Prompt-based automatic filtering improves performance only for open models and does not fully prevent harmful errors, suggesting that the practical benefits of such straightforward methods remain limited. Future work should explore a variety of approaches for reducing the number of harmful errors, such as improving evaluator models through self-training [] or fine-tuning generator models to improve response quality [-]. Another promising direction is calibrating an evaluator model’s confidence: overly cautious models risk unnecessary deferrals, while overconfident ones can allow harmful misinformation to pass through. Future research should aim to develop adaptive systems capable of calibrating their confidence based on the context and risk level of a patient’s question. Future safety measures could also investigate rule-based medical constraint checking []. Finally, testing on real patient queries will be necessary to validate model evaluation and help align models more closely with real patient expectations.
Acknowledgments
We thank Arkobrato Gupta for his guidance and feedback on the statistical analysis. The authors used ChatGPT for language polishing but fully reviewed the content and take full responsibility for the manuscript.
Funding
This research received no external funding.
Data Availability
The synthetic patient-AI Coach dialogues generated and evaluated in this study will be made publicly available on GitHub [].
Authors' Contributions
TK and MW conceived and designed the study. TK conducted the data generation, evaluation, and analysis, and drafted the manuscript under the supervision and guidance of MW. SC, KG, and IM contributed to dialogue annotation and provided feedback on the annotation guidelines. AP and EF-L contributed through prior discussions and general support. All authors reviewed and approved the final version of the manuscript.
Conflicts of Interest
None declared.
References
- Colorectal cancer statistics. Centers for Disease Control (CDC). URL: https://www.cdc.gov/colorectal-cancer/statistics/index.html [Accessed 2026-03-10]
- Richardson LC, King JB, Thomas CC, Richards TB, Dowling NF, Coleman King S. Adults who have never been screened for colorectal cancer, Behavioral Risk Factor Surveillance System, 2012 and 2020. Prev Chronic Dis. Apr 21, 2022;19:E21. [CrossRef] [Medline]
- van der Zander QEW, Reumkens A, van de Valk B, Winkens B, Masclee AAM, de Ridder RJJ. Effects of a personalized smartphone app on bowel preparation quality: randomized controlled trial. JMIR mHealth uHealth. Aug 19, 2021;9(8):e26703. [CrossRef] [Medline]
- Mahmud N, Doshi SD, Coniglio MS, et al. An automated text message navigation program improves the show rate for outpatient colonoscopy. Health Educ Behav. Dec 2019;46(6):942-946. [CrossRef] [Medline]
- Sharara AI, Chalhoub JM, Beydoun M, et al. A customized mobile application in colonoscopy preparation: a randomized controlled trial. Clin Transl Gastroenterol. Jan 5, 2017;8(1):e211. [CrossRef] [Medline]
- Mahmud N, Asch DA, Sung J, et al. Effect of text messaging on bowel preparation and appointment attendance for outpatient colonoscopy: a randomized clinical trial. JAMA Netw Open. Jan 4, 2021;4(1):e2034553. [CrossRef] [Medline]
- Clancy CM, Dominitz JA. Texting to improve colonoscopy preparation and adherence needs more study. JAMA Netw Open. Jan 4, 2021;4(1):e2035720. [CrossRef] [Medline]
- Singhal K, Tu T, Gottweis J, et al. Toward expert-level medical question answering with large language models. Nat Med. Mar 2025;31(3):943-950. [CrossRef] [Medline]
- Arora RK, Wei J, Hicks RS, et al. HealthBench: evaluating large language models towards improved human health. arXiv. Preprint posted online on May 13, 2025. [CrossRef]
- Jin D, Pan E, Oufattole N, Weng WH, Fang H, Szolovits P. What disease does this patient have? A large-scale open domain question answering dataset from medical exams. Appl Sci. 2021;11(14):6421. [CrossRef]
- Arya P, Bloomquist M, Chakraborty S, et al. Bootstrapping a conversational guide for colonoscopy prep. In: Stoyanchev S, Joty S, Schlangen D, Dusek O, Kennington C, Alikhani M, editors. Presented at: 24th Meeting of the Special Interest Group on Discourse and Dialogue; Sep 11-15, 2023:413-420; Prague, Czechia. [CrossRef]
- Sun H, Zhang K, Lan W, et al. An AI dietitian for type 2 diabetes mellitus management based on large language and image recognition models: preclinical concept validation study. J Med Internet Res. Nov 9, 2023;25:e51300. [CrossRef] [Medline]
- Sezgin E, Chekeni F, Lee J, Keim S. Clinical accuracy of large language models and Google Search responses to postpartum depression questions: cross-sectional study. J Med Internet Res. Sep 11, 2023;25:e49240. [CrossRef] [Medline]
- Yalamanchili A, Sengupta B, Song J, et al. Quality of large language model responses to radiation oncology patient care questions. JAMA Netw Open. Apr 1, 2024;7(4):e244630. [CrossRef] [Medline]
- Chen S, Guevara M, Moningi S, et al. The effect of using a large language model to respond to patient messages. Lancet Digit Health. Jun 2024;6(6):e379-e381. [CrossRef] [Medline]
- Ayers JW, Poliak A, Dredze M, et al. Comparing physician and artificial intelligence chatbot responses to patient questions posted to a public social media forum. JAMA Intern Med. Jun 1, 2023;183(6):589-596. [CrossRef] [Medline]
- Kim J, Chen ML, Rezaei SJ, et al. Perspectives on artificial intelligence-generated responses to patient messages. JAMA Netw Open. Oct 1, 2024;7(10):e2438535. [CrossRef] [Medline]
- Goodman RS, Patrinely JR, Stone CA Jr, et al. Accuracy and reliability of chatbot responses to physician questions. JAMA Netw Open. Oct 2, 2023;6(10):e2336483. [CrossRef] [Medline]
- Johri S, Jeong J, Tran BA, et al. An evaluation framework for clinical use of large language models in patient interaction tasks. Nat Med. Jan 2025;31(1):77-86. [CrossRef] [Medline]
- Li Z, Zhu H, Lu Z, Yin M. Synthetic data generation with large language models for text classification: potential and limitations. Presented at: 2023 Conference on Empirical Methods in Natural Language Processing; Dec 6-10, 2023:10443-10461; Singapore. [CrossRef]
- Wang Z, Li H, Huang D, Kim HS, Shin CW, Rahmani AM. HealthQ: Unveiling questioning capabilities of LLM chains in healthcare conversations. Smart Health. Jun 2025;36:100570. [CrossRef]
- Wei J, Wang X, Schuurmans D, et al. Chain-of-thought prompting elicits reasoning in large language models. Presented at: Advances in Neural Information Processing Systems 35; Nov 28 to Dec 9, 2022:24824-24837; New Orleans, Louisiana, USA. [CrossRef]
- 1 day bowel prep with Miralax and Dulcolax. The Ohio State University Wexner Medical Center. URL: https://www.healthwise.net/osumychart/Content/StdDocument.aspx?DOCHWID=custom.hs0146 [Accessed 2025-06-06]
- Zhang J, Yu S, Chong D, et al. Verbalized sampling: how to mitigate mode collapse and unlock LLM diversity. arXiv. Preprint posted online on Oct 1, 2025. [CrossRef]
- Xu W, Zhu G, Zhao X, Pan L, Li L, Wang W. Pride and prejudice: LLM amplifies self-bias in self-refinement. Presented at: 62nd Annual Meeting of the Association for Computational Linguistics; Aug 11-16, 2024:15474-15492; Bangkok, Thailand. [CrossRef]
- ATLAS.ti Team. Krippendorff’s alpha: sample size and decision rules. ATLAS.ti 26 Windows User Manual. Lumivero; 2025. URL: https://manuals.atlasti.com/Win/en/manual/ICA/ICASampleSizeAndDecisionRules.html [Accessed 2026-07-07]
- Gwet KL. Handbook of Inter-Rater Reliability, 4th Edition: The Definitive Guide to Measuring the Extent of Agreement Among Raters. 4th ed. Advanced Analytics; 2014. ISBN: 9780970806284
- Li D, Jiang B, Huang L, et al. From generation to judgment: opportunities and challenges of LLM-as-a-judge. Presented at: 2025 Conference on Empirical Methods in Natural Language Processing; Nov 4-9, 2025:2757-2791; Suzhou, China. [CrossRef]
- Papineni K, Roukos S, Ward T, Zhu WJ. BLEU: a method for automatic evaluation of machine translation. Presented at: 40th Annual Meeting of the Association for Computational Linguistics; Jul 7-12, 2002:311-318. [CrossRef]
- Reiter E. A structured review of the validity of BLEU. Comput Linguist. Sep 2018;44(3):393-401. [CrossRef]
- Wang T, Kulikov I, Golovneva O, et al. Self-taught evaluators. arXiv. Preprint posted online on Aug 5, 2024. [CrossRef]
- Lewis A, White M, Liu J, et al. Winning big with small models: knowledge distillation vs. self-training for reducing hallucination in QA agents. Presented at: Fourth Workshop on Generation, Evaluation and Metrics (GEM):705-727. URL: https://aclanthology.org/2025.gem-1.62.pdf [Accessed 2026-07-28]
- Gulcehre C, Paine TL, Srinivasan S, et al. Reinforced self-training (ReST) for language modeling. arXiv. Preprint posted online on Aug 17, 2023. [CrossRef]
- Song Y, Zhang H, Eisenach C, Kakade SM, Foster D, Ghai U. Mind the gap: examining the self-improvement capabilities of large language models. Presented at: Proceedings of the 13th International Conference on Learning Representations; Apr 24-28, 2025. URL: https://proceedings.iclr.cc/paper_files/paper/2025/file/63943ee9fe347f3d95892cf87d9a42e6-Paper-Conference.pdf [Accessed 2026-07-07]
- Eisenstein J, Aghajani R, Fisch A, et al. Don’t lie to your friends: learning what you know from collaborative self-play. Presented at: 1st Conference on Language Modeling (COLM 2025); Jul 8-11, 2025. URL: https://openreview.net/pdf?id=2vDJiGUfhV [Accessed 2026-07-07]
- Evaluating LLMs for colonoscopy preparation assistance. GitHub. 2025. URL: https://github.com/sirimott/prep-coach-llms [Accessed 2025-11-20]
Abbreviations
| CRAFT-MD: Conversational Reasoning Assessment Framework for Testing in Medicine |
| EHR: electronic health records |
| FAQ: frequently asked question |
| GRADE: Grading of Recommendations Assessment, Development, and Evaluation |
| LLM: large language model |
| NSAID: nonsteroidal anti-inflammatory drug |
Edited by Andrew Coristine; submitted 27.Nov.2025; peer-reviewed by Manish Bhatt, Nithisha Khasnavis; final revised version received 29.Jun.2026; accepted 29.Jun.2026; published 04.Aug.2026.
Copyright© Tomiris Kaumenova, Subhankar Chakraborty, Eric Fosler-Lussier, Kebire Gofar, Isaiah Metcalf, Andrew Perrault, Michael White. Originally published in JMIR AI (https://ai.jmir.org), 4.Aug.2026.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR AI, is properly cited. The complete bibliographic information, a link to the original publication on https://www.ai.jmir.org/, as well as this copyright and license information must be included.

